Skip to content

Conversation

@StanimalTheMan
Copy link

This is my first attempt at the initial CLI build.

}

public Booking createBooking(Car car, User user) {
Booking booking = new Booking(UUID.randomUUID(), car, user, LocalDateTime.now(), false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expand capacity when full

@StanimalTheMan
Copy link
Author

The other code comments seem to have disappeared.

private BookingDao bookingDao;
private UserDao userDao;
private CarDao carDao;
private CarService carService;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it bad practice to mix and match dao and services in a service class?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants